package com.xx.springboot.designPattern.FactoryMode;/**
 * Created by xiaoxiunique on 2018-11-15.
 */

/**
 * <p>
 * TODO:
 * </p>
 *
 * @author hcg
 * @date 2018-11-15 15:57
 * @className PizzaTestDrive
 */
public class PizzaTestDrive {
    public static void main(String[] args) {
        PizzaStore nyStore = new NYPizzaStore();

        Pizza pizza = nyStore.orderPizza("cheese");

        System.out.println(pizza.getName());

    }
}
